//
//  PDFDocumentPreviewGridViewCell.h
//  Cachalot
//
//  Created by Adam Cue on 6/30/11.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "AQGridView.h"
#import "PDFDocumentPreviewView.h"
#import "Reading.h"

@interface PDFDocumentPreviewGridViewCell : AQGridViewCell {
  UILabel * _titleLabel;
  PDFDocumentPreviewView * _asyncDocumentPreviewView;
  UIViewController <PDFDocumentPreviewViewDelegate> * superViewController;
}

#pragma mark ExternalMethods
+ (void)fillCell:(PDFDocumentPreviewGridViewCell *)cell forSavedReading:(Reading *)reading atIndex:(NSInteger)index;
+ (void)fillCell:(PDFDocumentPreviewGridViewCell *)cell forReading:(NSDictionary *)reading atIndex:(NSInteger)index;

@property(nonatomic, retain) UILabel * titleLabel;
@property(nonatomic, retain) PDFDocumentPreviewView * asyncDocumentPreviewView;
@property(nonatomic, assign) UIViewController <PDFDocumentPreviewViewDelegate> * superViewController;

@end
